From c34790e0b533bf7ddb6bc6d4c654bc7d9dd2ba80 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 28 May 1993 21:13:59 +0000 Subject: [PATCH] (XTread_socket, case KeyPress) [HPUX]: Recognize the extended function keys. --- src/xterm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 7c6fee06912..033b1da5685 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2874,6 +2874,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected) || keysym == XK_Delete || IsCursorKey (keysym) /* 0xff50 <= x < 0xff60 */ || IsMiscFunctionKey (keysym) /* 0xff60 <= x < 0xff80 */ +#ifdef HPUX + /* This recognizes the "extended function keys". + It seems there's no cleaner way. */ + || ((unsigned) (keysym) >= XK_Select + && (unsigned)(keysym) < XK_KP_Space) +#endif || IsKeypadKey (keysym) /* 0xff80 <= x < 0xffbe */ || IsFunctionKey (keysym)) /* 0xffbe <= x < 0xffe1 */ { -- 2.30.2